package com.tac.service.wms;

import com.github.pagehelper.PageInfo;
import com.tac.common.result.Result;
import com.tac.pojo.wms.MaterialApplication;
import com.tac.pojo.wms.MaterialApplicationMaterial;

import java.util.Date;
import java.util.List;

public interface MaterialApplicationService {

    //领料申请查询
    public Result<PageInfo<MaterialApplication>>  getList(Integer pageNum, Integer pageSize, String receiveNumber, Date receiveTimeStart, Date receiveTimeEnd, String applicant,
                                                          Date applicantTimeStart, Date applicantTimeEnd, String applicantStatus, String reviewed,
                                                          Date reviewedTimeStart, Date reviewedTimeEnd, String reviewedStatus);

    //领料申请添加
    public Result save(MaterialApplication materialApplication);
    //领料申请删除
    public Result remove(List<Integer> ids);
    //领料申请更新
    public Result update(MaterialApplication materialApplication);

    //生产计划明细添加
    public Result save2(MaterialApplicationMaterial materialApplicationMaterial);
    //生产计划明细删除
    public Result remove2(List<Integer> ids);
    //生产计划明细更新
    public Result update2(MaterialApplicationMaterial materialApplicationMaterial);


}
